Re: more info to the user
For the first question you should look at Forms topic in django docs. For the second one take a look at models docs for the info on how to mark the field as not required.
M
On Aug 15, 2012 3:36 PM, "heni yemun" <henokie@gmail.com> wrote:
-- Hi,
I have set up a UserProfile using the technique outlined in the standard. What i can do give values to the fields in the user profile model. So if i've a city field in the UserProfile, how can i put the value 'Asmara' to it and save it in the database?
Second question is whenever i try to save a field it says 'fieldname cannot be NULL'. What is this? THANK YOU!
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/kNwyJrDyyeUJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home