#18614: https://docs.djangoproject.com/en/1.4/topics/forms/ missing some sample code -------------------------------+--------------------------------------- Reporter: xarses@… | Owner: nobody Type: Bug | Status: new Component: Documentation | Version: 1.4 Severity: Normal | Keywords: from csrf missing imports Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------+--------------------------------------- The first two examples should include example file names that the code might be inside, since we might be new to the whole model / view concept.
in https://docs.djangoproject.com/en/1.4/topics/forms/#using-a-form- in-a-view example is missing import statements for HttpResponseRedirect and render_to_response example's final return is missing context_instance=RequestContext(request) after the dictionary, or a note needs to be made about this when explaining {% csrf_token %}. import path should also be referenced. -- Ticket URL: <https://code.djangoproject.com/ticket/18614> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.