On Apr 16, 3:24 pm, JoJo <culligan.joanne...@gmail.com> wrote: > Snippet must be a class, see i'm not sure because i am following an > example from a book online and some of the pages aren't displayed, so > i don't no what is in snippet.
You need to learn some Python. You can't use any names that have not either been defined or imported within the current module. I'm presuming it's a model, but if you haven't defined it *somewhere*, you can't use it at all. > how do i use a ModelForm, i only know how to use a model and form > separatly? Django has very good documentation... best use that rather than some strange online book with pages missing. For modelforms, see: http://docs.djangoproject.com/en/1.1/topics/forms/modelforms/ -- DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.