django admin.py error (solved)

Gary Roach gary719_list1 at verizon.net
Thu Sep 19 15:33:26 EDT 2013


On 09/19/2013 11:56 AM, John Gordon wrote:
> 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.
>
Stupid stupid stupid. Thanks. You would think that after working with 
Linux for over 10 years that I wouldn't pull such a stunt. Thanks. 
Everything now working fine.

Gary R



More information about the Python-list mailing list