Login

All snippets written in Python

Title Author Tags Publication date Rating
A wrapper around cache_page making it optional rixx cache caching cache_page Jan. 22, 2022, 5:11 a.m. +1
Treat empty value on DateRangeFilter as a filter for non filled dates kmmbvnr django-filter Dec. 14, 2021, 4:43 a.m. +0
Django Settings Assignment Expressions aka Walrus Operator example webology settings Nov. 13, 2021, 11:34 a.m. +0
codigo alto nivel MrRocklion Sept. 17, 2021, 9:54 p.m. +0
Load template from specific app Krzysiek555 template-loader Aug. 28, 2021, 6:46 a.m. +0
PostgreSQL JSON subqueries dolamroth json postgres postgresql subquery Aug. 26, 2021, 6:45 a.m. +1
"Magic Link" Management Command webology authentication magic management command March 24, 2021, 8:52 a.m. +4
Closest ORM models to a latitude/longitude point simonw orm gis latitude longitude location March 24, 2021, 8:13 a.m. +1
Log the time taken to execute each DB query kennyx46 django db logging March 24, 2021, 4:15 a.m. +1
django database snippet ItsRLuo log database March 18, 2021, 7:34 p.m. +1
Serialize a model instance chriswedgwood serialize Feb. 18, 2021, 2:14 a.m. +3
Automatically setup raw_id_fields ForeignKey & OneToOneField agusmakmun django django-admin May 21, 2020, 8:33 a.m. +0
Crispy Form sourabhsinha396 crispy-forms April 27, 2020, 4:46 a.m. +1
ReadOnlySelect mkoistinen forms select readonly April 16, 2020, 12:33 p.m. +0
Verify events sent to your webhook endpoints santos22 signature third-party webhook hmac March 18, 2020, 10:24 p.m. +0
Django Language Middleware agusmakmun middleware django session localization translation django-session March 8, 2020, 4:24 a.m. +0
Country short code to flag icon converter mertcangokgoz template-tag flag-icon country-flags Feb. 29, 2020, 7:42 p.m. +0
Streaming large CSV files via admin actions asta-ko admin csv admin-actions Feb. 11, 2020, 8:48 a.m. +0
Read image url as base64 agusmakmun django image templatetags base64 imagepreview Jan. 28, 2020, 9:17 p.m. +0
Django zip longest templatetags to handle more than 3 arguments. agusmakmun django templatetags zip Dec. 12, 2019, 1:02 a.m. +0

< Previous 20    Next 20 >

2953 snippets posted so far.