Login

All snippets written in Python

Title Author Tags Publication date Rating
Django Standard API Response Middleware for DRF agusmakmun middleware django api django-rest-framework Dec. 11, 2019, 8:02 a.m. +3
Action export django admin to excel exactly as it appears in list-display PunisherGu django python django-admin export-excel Oct. 24, 2019, 1:42 p.m. +0
a better Django Slug Unique Generator ParsaFakhar django slug url Oct. 17, 2019, 10:14 a.m. +1
Django numberize templatetags agusmakmun django templatetags Sept. 11, 2019, 7:38 p.m. +0
Model mixin to return all field data in a dictionary rixx models model export orm metaprogramming Aug. 17, 2019, 1:45 a.m. +1
URLMan serializer field for Django Rest Framework (DRF) rixx django-rest-framework urlman Aug. 13, 2019, 4:40 a.m. +0
parse json string agusmakmun django json templatetags utils parser Aug. 11, 2019, 5:23 p.m. +1
Geoip middleware to restrict users to a set of allowed countries pakal middleware ip country geoip restriction blocker June 26, 2019, 7:19 a.m. +0
Django management command to update local Maxmind Geoip databases pakal maxmind management databases geoip python3 June 26, 2019, 7:14 a.m. +0
CBV to mix FormView and DetailView functionalities pakal view form cbv detail June 21, 2019, 6:07 a.m. +0
Strict Boolean Form Field powderflask form_field June 20, 2019, 12:59 p.m. +0
Dry basic-auth middleware using Django's AUTHENTICATION_BACKENDS and "basicauth" lib pakal middleware basic authentication auth http-authorization June 13, 2019, 3:46 a.m. +0
updated django-mptt enabled FilteredSelectMultiple m2m widget, Django 1.11 compatible RobertoMaurizzi widget mptt May 16, 2019, 2:15 a.m. +1
StringField: CharField with no max_length for Postgres cdcarter orm postgres charfield May 5, 2019, 10:59 a.m. +0
Calculating Maintainability Index for a whole project MrtnBckr django command git maintainability April 18, 2019, 8:43 a.m. +1
Django nginx sendfile example sim1234 django media sendfile nginx April 17, 2019, 6:53 a.m. +0
LoginRequiredMiddleware aasmpro middleware authentication login_required April 6, 2019, 8:16 a.m. +0
ChoiceField's choices from model cansarigol django forms choicefield March 28, 2019, 8:46 a.m. +0
spaceless_json dkoldyaev django templatetag json spaceless formatting application/id+json March 4, 2019, 6:53 a.m. +1
Tweet embed template tag z3ke1r django templatetag json embed twitter parse requests tweet Feb. 14, 2019, 2:22 p.m. +0

< Previous 20    Next 20 >

2953 snippets posted so far.