Snippets by pakal

Title Tags Publication date Rating
Geoip middleware to restrict users to a set of allowed countries middleware ip country geoip restriction blocker June 26, 2019, 7:19 a.m. +0
Django management command to update local Maxmind Geoip databases maxmind management databases geoip python3 June 26, 2019, 7:14 a.m. +0
CBV to mix FormView and DetailView functionalities view form cbv detail June 21, 2019, 6:07 a.m. +0
Dry basic-auth middleware using Django's AUTHENTICATION_BACKENDS and "basicauth" lib middleware basic authentication auth http-authorization June 13, 2019, 3:46 a.m. +0

pakal has posted 4 snippets.