Hello:

I am trying to control the html display size of a CharField using length
keyword. However, I got the following error when doing syncdb

__init__() got an unexpected keyword argument 'length'

I am using django svn release. I didn't find length keyword in django
document, but learned it from the django usergroup.

Another question is in my data model I have
entered_by = models.ForeignKey(User)

when doing syncdb I got the following where imagefile is a table name.
Accessor for field 'entered_by' clashes with related field
'User.imagefile_set'. Add a related_name argument to the definition for
'entered_by'.

Thanks,
Harry

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to