installing snippets
- by Sevenearths
How do I install snippets in django? (specifically this)
I have the file /{project}/snippets/EnforceLoginMiddleware.py and I have tried any number of permutations inside MIDDLEWARE_CLASSES to load it as well as googling django snippets install to no avail :(
Any help would be grateful :)
PS(Why can't I find any documentation or examples on the installation of snippets. Maybe I'm just a bad googler)