Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!panix!gordon From: John Gordon Newsgroups: comp.lang.python Subject: Re: django admin.py error Date: Thu, 19 Sep 2013 18:56:51 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 20 Message-ID: References: NNTP-Posting-Host: panix1.panix.com X-Trace: reader1.panix.com 1379617011 16658 166.84.1.1 (19 Sep 2013 18:56:51 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Thu, 19 Sep 2013 18:56:51 +0000 (UTC) User-Agent: nn/6.7.3 Xref: csiph.com comp.lang.python:54437 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 = 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@panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies"