In <mailman.154.1379606716.18130.python-l...@python.org> Gary Roach 
<gary719_li...@verizon.net> writes:

> Installation of the django admin.py package worked fine. But. when I 
> tried to add my database to the admin page I get the following error:

>       ImportError at /admin/

>       cannot import name membership

>       ['/home/gary/ProgramFiles/mysite/mysite',

> My admin.py file is:
>       #Adding this app to the admin page.

>       from django.contrib import admin
>       from mysite.models import membership, address, status,  audio, video, 
> photos

Does /home/gary/ProgramFiles/mysite/mysite/models.py define an object
named 'membership'?

-- 
John Gordon                   A is for Amy, who fell down the stairs
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to