importdjango_plugins# ...INSTALLED_APPS=["your_app1","your_app2",]+django_plugins.installed_apps()# ...MIDDLEWARE=django_plugins.middleware(["your_middleware1","your_middleware2",])# And at the very end of that file:django_plugins.settings(globals())
And add this to your URL configuration in urls.py:
urlpatterns=[# ...]+django_plugins.urlpatterns()
Usage
Installing a plugin in the same environment as your Django application should cause that plugin to automatically add the necessary
Development
To contribute to this library, first checkout the code. Then create a new virtual environment:
cddjp
python-mvenvvenv
sourcevenv/bin/activate
Now install the dependencies and test dependencies: