Login

All snippets written in Python

Title Author Tags Publication date Rating
Auto upload_to path generator junaidmgithub django-models May 20, 2022, 10:49 p.m. +0
LazyPrimaryKeyRelatedField LLyaudet DRF PrimaryKeyRelatedField May 13, 2022, 12:29 p.m. +0
CacheInDictManager LLyaudet caching Django Manager May 13, 2022, 5:40 a.m. +0
MYSQL Full Text Expression Bidaya0 ORM FullText Mysql May 12, 2022, 11:46 a.m. +0
Custom model manager chaining (Python 3 re-write) Spotted1270 manager queryset factory May 6, 2022, 3:02 a.m. +0
Django Standard API Response Middleware for DRF for modern frontend easy usage Denactive Django DRF Standartization Middlewares Microservices April 20, 2022, 10:35 a.m. +0
EnhancedQuerySet LLyaudet django query set IGNORE_FILTER April 5, 2022, 11:24 a.m. +0
Work around for negation of Q filter LLyaudet negation Q filter March 31, 2022, 10:52 a.m. +0
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. +0
"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

   Next 20 >

2941 snippets posted so far.