djangosnippets.org: Latest snippets posted by I159http://djangosnippets.org/users/I159/2011-12-05T09:44:33.980714-06:00I159Class-based process form view.
2011-12-05T09:44:33.980714-06:00I159http://djangosnippets.org/snippets/2623/<p>Class based view returns json serialized saved data or form errors.</p>
Freely redistributableDynamical formsets
2011-11-16T05:28:28.774479-06:00I159http://djangosnippets.org/snippets/2603/<p>If you need dynamical formsets you can use <code>{{ empty_form }}</code> in template and even makeup it.</p>
Freely redistributableSwithched Value Typed Choice Field
2011-11-16T05:19:26.443755-06:00I159http://djangosnippets.org/snippets/2602/<p>As it took me a save option name instead of its value. This field are solves this rare problem.</p>
Freely redistributableThe model field subclass returns string generated from the list of choices.
2011-11-16T05:13:10.001771-06:00I159http://djangosnippets.org/snippets/2601/<p>if you have multiple choice field in front and you need just a string contains chosen values this is it! Unicode encoding row related with another snippet - "Switched value typed choice field", In typical cases, you do not need to call additional methods.</p>
Freely redistributable"Ukrainian telephone number" model and form fields.
2011-10-25T09:14:21.387784-05:00I159http://djangosnippets.org/snippets/2579/<p>Fields are validate Ukrainian phone numbers in popular formats.</p>
Freely redistributableCustom 'save' method, automate creating pdf file from entry.
2011-09-28T10:08:16.464801-05:00I159http://djangosnippets.org/snippets/2557/<p>Save method, useful for automate pdf files creation if you want to use the file in database.</p>
Freely redistributable"Youtube watch link to embed" custom tag.
2011-09-25T15:27:58.027732-05:00I159http://djangosnippets.org/snippets/2554/<p>Tag for simple embed video from youtube watch link. It can be modified to manage size of embedded video.</p>
Freely redistributableChainable custom query manager for randomize.
2011-09-21T04:17:50.199599-05:00I159http://djangosnippets.org/snippets/2550/<p>This manager is based on the economical method of randomization. It usable in related models. For support this behavior required to be defined as default manger. </p>
Freely redistributable