I'm trying to get my first app/project started on Django.  I've created
my first model, but am unable to access the admin site.  I continue to
get the error "ImportError at /admin/" "No module named admin"

My hunch is that I have some path misconfigured, since it sounds like
python can't find the model?  But after lots of searching I haven't
been able to figure it out.  Any help is appreciated.

brian
--

Config details:

I'm running python 2.4.3 on Ubuntu (recently updated from Badger to
Drake).

Here are all the settings I can think of:

INSTALLED_APPS section of mysite/settings.py:

INSTALLED_APPS = (
'django.contrib.admin',
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.sites",
"mysite.mytestapp"
)

- I'm running the latest development version that was checked out on
June 9th, 2006.

- I've uncommented the line for admin in urls.py

- I've run 'python manage.py syncdb' and there is a django_auth_log
table in the database (and generally, database access works ok b/c it
created the model for my project)

- I've installed the django python files to
/usr/lib/python2.4/site-packaes/django

[EMAIL PROTECTED]:~$ ls /usr/lib/python2.4/site-packages/django/
bin   contrib  db        forms  __init__.py  shortcuts  templatetags
views
conf  core     dispatch  http   middleware   template   utils

and an admin module exists in contrib.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to