djangosnippets.org: Latest snippets posted by macmichael01http://djangosnippets.org/users/macmichael01/2009-01-31T22:14:08.418951-06:00macmichael01Validate by file content type and size
2009-01-31T22:14:08.418951-06:00macmichael01http://djangosnippets.org/snippets/1303/<p>A simple way to handle file validation by checking for a proper content_type and by making sure that the file does not go over its limit upload size limit. </p>
<p>In the example I am checking to make sure the file is an image or a video file then I check …</p>
Freely redistributableTagging System
2008-02-07T04:04:06.279681-06:00macmichael01http://djangosnippets.org/snippets/589/<p>This is my personal tagging system that I have created. It is intended to be used for multiple applications. This tagging system also has a build in tag cloud that will generate based on the most frequently used tags that you have used or based on the number of clicks …</p>
Freely redistributableFoldable Admin Interface
2008-01-17T00:08:01.361509-06:00macmichael01http://djangosnippets.org/snippets/550/<p>Have you had a rather huge database, say 50-100+ tables? Why not compress the tables you don't want to see and expand the ones that you do want to see? This template should do the trick. It uses cookies to remember which tabs you have open and which ones you …</p>
Freely redistributable