Login

All snippets written in Python

Title Author Tags Publication date Rating
grouper tag visgean template tag templatetag formset Aug. 8, 2011, 4:36 p.m. +0
Admin Model Sorting programmerDan models admin sort sorting app-models Aug. 8, 2011, 10:55 a.m. +1
Modified ZipFile() to support writedir() (with auto pyc/py selection) sleepycal zipfile auto writedir py pyc Aug. 6, 2011, 4:04 p.m. +0
Update timestamp If any instance field has changed craigruks fields model save field method instance override compare Aug. 5, 2011, 3:08 p.m. +0
Class based view decorator robcharlwood django generic-views decorator class-based-views Aug. 5, 2011, 3:55 a.m. +2
Generic view mixing that allows output to JSON, HTML, HTML SNIPPETS danielsokolowski JSON GEOJSON Aug. 4, 2011, 4 p.m. +0
models.py with django_dag models for parts hierarchy j_syk models hierarchy dhango_dag django-dag Aug. 3, 2011, 11:08 a.m. +0
User Profile minimal code Natim user profile signals get_profile Aug. 2, 2011, 4:02 a.m. -1
TaskViewMixin, fires off a task and polls until completion zbyte64 asynchronous class-based-views celery Aug. 1, 2011, 8:25 p.m. +1
Generic model filter from request GET data genbit filter forms queryset July 31, 2011, 10:45 a.m. +2
Diagram of your database structure vnbang2003 graph er diagram July 30, 2011, 10:20 p.m. +0
dump_app_data: dumps application data to the application's fixtures directory wolever fixtures July 28, 2011, 1:55 p.m. +1
Django load global fixtures test helper vaz fixtures tests helper July 25, 2011, 6:14 p.m. +1
LoginRequired class-based view decorator mjumbe view decorator class login_required class-decorator class-based-views July 25, 2011, 2:25 a.m. +2
map_path function for settings.py btaylordesign settings path map July 23, 2011, 7:19 p.m. +0
Storing IP address ModelField as Integer, without nasty hacks.. sleepycal ip integer address modelfield int July 19, 2011, 7:15 a.m. -2
Prefetch generic relations jpic generic performance prefetch July 19, 2011, 5:20 a.m. +2
Searching and Deleting Cache Entries in Admin tool shootclub admin cache caching admin-interface July 16, 2011, 2:41 p.m. +1
Random object IDs using an abstract base model elver models model random abstract primary-key obfuscation obfuscated ID July 15, 2011, 6:25 a.m. -1
Transparently encrypt ORM fields using OpenSSL (via M2Crypto) ncoghlan fields encryption July 15, 2011, 1:41 a.m. +1

< Previous 20    Next 20 >

2953 snippets posted so far.