Closed simonw closed 2 days ago
Aesthetically I really like the feel of:
import django_plugins
@django_plugins.hookimpl
def middleware():
return ["django_plugin_secial_header.middleware.SpecialHeaderMiddleware"]
But I need something else.
Worth noting though that https://github.com/krischer/django-plugins has a package called djangoplugins
- so django_plugins
is still available. I just need a good PyPI project name.
djp
was free so I grabbed that. https://pypi.org/project/djp/
I thought I'd checked this, but apparently not - https://pypi.org/project/django-plugins/ is taken by https://github.com/krischer/django-plugins - last updated in 2016.