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
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
2 matches
Mail list logo