C H A P T E R   9

image

Form Processing in the Code-Sharing Application

All of your Django applications so far—with the exception of the comments system for the weblog—have been focused exclusively on systems in which trusted members of a site's staff enter content through Django's administrative interface, rather than on interactive features that let ordinary users submit content to be displayed. For this new application, though, you're going to need a way to allow users to submit their snippets of code. You'll also want to make sure that their submissions are in a format that works with the data models you've set up.

Fortunately, Django is going ...

Get Practical Django Projects, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.