While typing in the code 
in https://docs.djangoproject.com/en/1.7/topics/forms/modelforms/ I get a 
a Name Error that doesn't seem related to any omitted import module.

I'm running this is the shell that has the settings* './manage.py shell' * 
where 
I have a project reflecting this particular tutorial.

Thanks!


f = ArticleForm(request.POST)

Traceback (most recent call last):

  File "<console>", line 1, in <module>

NameError: name 'request' is not defined

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b1edf4aa-0857-45d4-bc7f-79ff678e72a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to