Login

Top-rated snippets

Title Author Tags Publication date Rating
Automatically round Django's DecimalField according to the max_digits and decimal_places attributes alexpirine field decimal Feb. 8, 2016, 7:39 a.m. +1
PaginationMixin: Get a controlled paginate_by value from the querystring or use a default. AgustinLado pagination paginator mixin Oct. 5, 2015, 10:02 a.m. +1
Filter changelist by a numeric field using a number of common value ranges asfaltboy filter admin field range Sept. 3, 2015, 9:16 a.m. +1
Reusable field forms using crispy-forms axelwass forms filters reuse reusable form-field crispy-forms Aug. 25, 2015, 11:45 a.m. +1
Month / Year dropdown widget Python 3 compatible pxg date year credit-card month python-3 Aug. 20, 2015, 10:56 a.m. +1
Simple Response with Pagination for API REST aguilarpgc rest pagination response July 24, 2015, 3:03 p.m. +1
Datetime adjuster for Django Templates McAnix template filter datetime calculation adjust relativedelta July 22, 2015, 8:54 a.m. +1
better localsettings import andrew development staging production localsettings July 11, 2015, 11:33 a.m. +1
@group_required decorator sebastien247 decorator login auth decorators group_required @group_required July 9, 2015, 2:46 p.m. +1
Template tag to render collections.Counter as an html table asfaltboy html table inclusion-tag collections.Counter Counter June 19, 2015, 10:12 a.m. +1
Dynamically adding forms to a formset. OOP version. halfnibble django javascript jquery formset inlineformset May 13, 2015, 5:46 p.m. +1
Template Tag to protect the E-mail address end0 email spam obfuscate May 4, 2015, 6:16 p.m. +1
Simple class to organize email templates jean template mail pattern April 13, 2015, 8:40 p.m. +1
Grouped Model Choice Field JulieGoldberg ModelChoiceField OptGroup Forms April 8, 2015, 7:21 p.m. +1
Geraldo Reports Currency class update for DecimalObjectValue alaska2008 django Geraldoreports March 19, 2015, 3:01 p.m. +1
Allow multiple field sorting in a single admin table column matiascelasco ModelAdmin admin_order_field multifiled sorting March 19, 2015, 8:32 a.m. +1
LocaleMiddleware without browser language discovery ivellios middleware i18n locale Feb. 26, 2015, 2:20 p.m. +1
Seeded Randomized Querysets w/ Pagination Mixin ScottBarkman django session pagination random postgres mixin postgresql cbv seeded Feb. 25, 2015, 3:51 p.m. +1
Decorator @not_login_required florent1933 decorator Feb. 12, 2015, 5 a.m. +1
Readonly Select Widget Replacement colinkingswood Dec. 10, 2014, 10:54 a.m. +1

< Previous 20    Next 20 >

3107 snippets posted so far.