django admin.py error

John Gordon gordon at panix.com
Thu Sep 19 14:56:51 EDT 2013


In <mailman.157.1379616572.18130.python-list at python.org> Gary Roach <gary719_list1 at verizon.net> 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 = models.IntegerField(unique=True, primary_key=True)

I see something named 'Membership', but nothing named 'membership'.
Python names are case-sensitive.

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




More information about the Python-list mailing list