Saturday, June 16, 2012

no module named books found

project name is djangotest2 and app name is books
settings.py
INSTALLED_APPS = (
    'djangotest2.books',

    

)
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': 'xam',                      # Or path to database file if using sqlite3.
        'USER': 'root',                      # Not used with sqlite3.
        'PASSWORD':'',                  # Not used with sqlite3.
        'HOST':'',                      # Set to empty string for localhost. Not used with sqlite3.
        'PORT':'',                      # Set to empty string for default. Not used with sqlite3.
    }
}


It shows an error :no module named books found when i use syncdb.
so anyone can please help.......

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/yQ3f-LdGKrEJ.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate