2872: Faulity import in 1.7.2

lamo*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Jan. 22, 2013
What version are you running?
1.7.2

What's the URL of the page containing the problem?
None

What steps will reproduce the problem?
1. django-admin.py index

What is the expected output? What do you see instead?
It works.  "Cannot import module: settings"

What operating system are you using? What browser?
Linux. Chrome.

Please provide any additional information below.

The commit: 900df433a5d477a747b6048cff140b644be2c992 is using a faulty "local" python import.

"import settings"

It should be:

"from django.conf import settings"


Fixing this fixes the above issue when someone goes to "django-admin.py index".

Thanks!
david
#1 david
Pushed this change to release-1.7.x (151cc35). Thanks!
  • +Fixed