Hi guys,

I'm still a noob so please bear with me :)

My friend has made a change to my django project and I got a clone of the
project with his changes from the bitbucket repo, but now when I try to
validate it I get:

Error: cannot import name settings

I tried setting the path to the new project as per
http://www.juiceanalytics.com/writing/django_settings_module/ and I can see
the project folder inside the path but I'm still getting the above error.

django_countries module has been added to the project and it seems to me
that it is causing this issue.

I have it inside installed apps:

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    'registration',
    'django_countries',
    # Uncomment the next line to enable the admin:
    'django.contrib.admin',
    # Uncomment the next line to enable admin documentation:
    # 'django.contrib.admindocs',
)

When I comment it out I get a different error which refers to the django
countries being used inside the models.py.

I'm really not sure what do here. I have searched internet for the past hour
and can't find an answer.

My Django version is:

>>> print django.VERSION
(1, 3, 0, 'final', 0)

Thanks everyone.

Mario

-- 
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