Login

Snippets by simon

Title Tags Publication date Rating
Amazon S3 browser-based upload form forms upload s3 amazon Jan. 15, 2010, 6:35 a.m. +1
Log Django exceptions to Apache error log in mod_wsgi middleware apache errors modwsgi exceptions Sept. 17, 2009, 2:36 a.m. +3
Counter model - run multiple persistent counters database counters June 17, 2009, 5:05 p.m. +0
TextField forms textfield May 12, 2009, 4:21 p.m. +5
Debug view: show available named URL patterns urlconf debug debugging urlpatterns documentation docs April 13, 2009, 3:36 a.m. +1
baseconv.py - convert base 10 integers to base X and back again base62 April 11, 2009, 11:49 a.m. +9
A custom URL shortening view, for use with rev=canonical urls views tinyurl April 11, 2009, 11:19 a.m. +3
generateChart() for creating a Google Chart API pie chart from JavaScript javascript googlechartapi piechart graphs Feb. 21, 2009, 9:39 a.m. +0
RestView - class for creating a view that dispatches based on request.method rest view classbasedgenericviews Sept. 21, 2008, 1:56 p.m. +13
Rendering a form by looping through its fields in a template newforms templates foms Sept. 14, 2008, 4:54 p.m. +3
multiblog - a simple example of row-level permissions in the admin admin permissions Sept. 13, 2008, 5:41 a.m. +15
Orderable inlines using drag and drop with jQuery UI jquery inlines pyconuk2008 Sept. 13, 2008, 5:35 a.m. +28
Retrieve a list of countries from GeoNames countries geonames Sept. 11, 2008, 5:55 p.m. +4
Template filter implementing the Trac wiki markup language filter templatetag markup trac Sept. 11, 2008, 4:08 p.m. +1
Sign a string using SHA1, then shrink it using url-safe base65 security base65 signing cookies hashlib hashes sha1 Aug. 27, 2008, 7:24 a.m. +5
Converting PDT to UTC using pytz and dateutil utc pytz timezones pdt Aug. 21, 2008, 3:54 p.m. +1
UnicodeWriter and UnicodeDictWriter - write unicode strings out to Excel compatible CSV files unicode csv excel Aug. 20, 2008, 5:40 a.m. +7
Accepting and processing PayPal IPN messages (including using App Engine) appengine paypal payment ipn Aug. 13, 2008, 4:06 p.m. +3
RequestFactory: Easily create mock request objects, for use in testing testing httprequest Aug. 12, 2008, 6:01 a.m. +20
int_to_base36 and base36_to_int urls base36 July 7, 2008, 3:14 a.m. +1

simon has posted 29 snippets.

   Next 20 >