Thanks for your help guys.

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 <printer...@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 <rein...@vanrees.org>wrote:
>
>> On 24-08-11 09:54, Mario Gudelj wrote:
>>
>>> Error: cannot import name settings
>>>
>>
>> Are you doing "from django.conf import settings"? Is that going wrong?
>> 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/
>> rein...@vanrees.org             
>> http://www.nelen-schuurmans.**nl/<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 <django-users%2bunsubscr...@googlegroups.com>.
>> For more options, visit this group at http://groups.google.com/**
>> group/django-users?hl=en<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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to