Django

Code

Changeset 2279

Show
Ignore:
Timestamp:
02/05/06 00:24:35 (3 years ago)
Author:
russellm
Message:

magic-removal: Deferred import of django.db.models to allow --settings option to work on runtests.py.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/magic-removal/tests/runtests.py

    r2278 r2279  
    22 
    33import os, re, sys, time, traceback 
    4 import django.db.models 
    54 
    65# doctest is included in the same package as this module, because this testing 
     
    8079        from django.db import connection 
    8180        from django.core import management 
     81        import django.db.models 
    8282 
    8383        # Determine which models we're going to test.