djangosnippets.org: Latest snippets tagged with 'process_view'https://djangosnippets.org/tags/process_view/2011-12-05T09:44:33.980714-06:00Class-based process form view.
2011-12-05T09:44:33.980714-06:00I159https://djangosnippets.org/snippets/2623/<p>Class based view returns json serialized saved data or form errors.</p>
Freely redistributableBeforeFilter Middleware
2009-02-03T13:48:13.475804-06:00davidhttps://djangosnippets.org/snippets/1306/<p>Expanded version of <a href="http://www.djangosnippets.org/snippets/715/" title="Django snippets: Simple View Middleware to allow a Prefilter">snippet 715</a> to be more flexible.</p>
<p>Updates:</p>
<ul>
<li>2009-04-24: Multiple filters now work correctly<br />
</li>
<li>2009-03-22: Fixed bug<br />
</li>
<li>2009-02-03: Simplified process.<br />
</li>
</ul>
Freely redistributableSimple View Middleware to allow a Prefilter
2008-04-22T10:09:22.619394-05:00tclinekshttps://djangosnippets.org/snippets/715/<p>This allows you to define a 'prefilter' function in your view modules which will be invoked before any view in that same. This provides an easy place to decorate the request or modify arguments.
</p>
<p>For simplicity it doesn't allow configuration of the name of the prefilter function. I also skipped …</p>
Freely redistributable