Tuesday, October 21, 2014

ImportError failure

Hi everyone,

When I execute
python manage.py runserver

it appers:
ImportError: cannot import name 'example' from 'exsite'

The relative code in the settings.py file is:

INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'exsite.example',
)

What can I do?

My django version is 1.7, with Python 2.7.  I'm new in this interesting world of Django.  Thanks for your help, and time.

Regards,
Juan

--
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+unsubscribe@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/13bae8aa-77d9-4ba6-b038-d9ce37a37c9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment