Hi David,
Stupid error on my part. Problem has been resolved.
On Dec 5, 1:34 am, "David Zhou" <[EMAIL PROTECTED]> wrote:
> On Fri, Dec 5, 2008 at 1:44 AM, Brandon Taylor <[EMAIL PROTECTED]> wrote:
>
> > But, the form fields aren't being populated. What am I doing wrong?
> > form_for_instance is
On Fri, Dec 5, 2008 at 1:44 AM, Brandon Taylor <[EMAIL PROTECTED]> wrote:
>
> But, the form fields aren't being populated. What am I doing wrong?
> form_for_instance is deprecated in 1.0, and everything I'm doing looks
> correct from the docs at:
> http://docs.djangoproject.com/en/dev/topics/form
Hi everyone,
I'm using 1.0.2 final. I have a form for a model and am passing in an
instance of my model object to the form, but the form is not being
populated.
#views.py example
def my_view(request, id):
if request.method == 'POST':
pass
else:
model_instance = my_model.
3 matches
Mail list logo