Re: django admin.py error

2013-09-19 Thread John Gordon
In Gary Roach writes: > On 09/19/2013 11:15 AM, John Gordon wrote: > > Does /home/gary/ProgramFiles/mysite/mysite/models.py define an object > > named 'membership'? > Yes. The following is the top part of the models.py file: q > class Membership(models.Model): > id_membership =

Re: django admin.py error

2013-09-19 Thread Gary Roach
On 09/19/2013 11:15 AM, John Gordon wrote: In Gary Roach 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/ Does /home/gary/ProgramFiles/mysite/mysite/models.py

Re: django admin.py error (solved)

2013-09-19 Thread Gary Roach
On 09/19/2013 11:56 AM, John Gordon wrote: In Gary Roach writes: On 09/19/2013 11:15 AM, John Gordon wrote: Does /home/gary/ProgramFiles/mysite/mysite/models.py define an object named 'membership'? Yes. The following is the top part of the models.py file: q class Membership(models.Mod

Re: django admin.py error

2013-09-19 Thread John Gordon
In Gary Roach 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 a

django admin.py error

2013-09-19 Thread Gary Roach
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 Request Method: GET Request URL:http://127.0.0.1:8000/admi