It seems that there is an issue in django_countries app where the fields.py file has "from django_countries import settings", but there's no settings.py file inside the django_countries folder. When I comment out that line the project validates.
I wish that the error message was a bit nicer :(
Cheers,
On 25 August 2011 11:26, Kejun He <printerhkj@gmail.com> wrote:
Search "settings" in your project, and see the settings how to be imported.On Wed, Aug 24, 2011 at 4:45 PM, Reinout van Rees <reinout@vanrees.org> wrote:
On 24-08-11 09:54, Mario Gudelj wrote:Are you doing "from django.conf import settings"? Is that going wrong?
Error: cannot import name settings
Or does django refuse to start? If so, what's your settings environment variable like?
And: can you give the full traceback?
Reinout
--
Reinout van Rees http://reinout.vanrees.org/
reinout@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment