In <[email protected]> Gary Roach <[email protected]> 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 [email protected] B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies" -- https://mail.python.org/mailman/listinfo/python-list
