I'm struggling to create a method by which a user can update his user profile, where the current information is displayed in the "edit" form, and I'm hoping someone here can point out what I'm doing wrong. I am not using ubernostrum's django-profiles for this because it hasn't been touched in quite some time and therefore doesn't work out- of-the-box with Django 1.3 (perhaps there's a fork or patch that I missed).
Anyway, the issue: when the form is displayed, it acts as if I've submitted it (error messages of missing data appear), and the initial data doesn't appear, even if I make it explicit in __init__ (e.g. self.fields['field'].initial = 'test'). I just get a blank field. I've pared the following code down to the very basics and it still doesn't work. Is there something missing? Or do I have something extra that shouldn't be there? http://pastebin.com/2D7ABMKW Thanks, James -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.