I am following this tutorial here 
<https://docs.djangoproject.com/en/dev/intro/contributing/> "Writing your 
first Django patch" and while it directs me to rollback to this 
39f5bc7fc3a4bb43ed8a1358b17fe0521a1a63ac 
<https://github.com/django/django/commit/39f5bc7fc3a4bb43ed8a1358b17fe0521a1a63ac>
 commit, 
when I do so I am not able to run the runtests.py script. I guess the 
directory structure or something has changed along the way, I assume. As I 
am getting the error below:

Traceback (most recent call last):
  File "runtests.py", line 327, in <module>
    options.failfast, args)
  File "runtests.py", line 153, django_tests
    state = setup(verbosity, test_labels)
  File "runtests.py", line 111, in setup
    from django.db.models.loading import get_apps, load_app
ImportError: No module named 'django.db.models.loading'



I poked around to see if I could find the loadings module but it is not 
longer there. Should I just practice on a recent bug? Because runtests.py 
does fine when the git head is located at the most recent commit. 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5a06bb98-9194-4586-a323-101e730d2f8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to