Re: Django Forms.py issue with Model.py fields

2014-06-19 Thread Daniel Sears
You're using parens instead of brackets. Change fields = ('username', 'email', 'password') to fields = ['username', 'email', 'password'] On Thu, Jun 19, 2014 at 1:07 PM, G Z wrote: > I'm trying to write my forms.py class for editing customers but I'm > getting some strange i

Django Forms.py issue with Model.py fields

2014-06-19 Thread G Z
I'm trying to write my forms.py class for editing customers but I'm getting some strange issues where it says the field is unknown but im typing it exactly how it is in the model. Forms.Py from portal.models import UserProfile, Customer > from django.contrib.auth.models import User > from djang