Skip to main content

DJP: Django Plugins

PyPI Tests Changelog License

A plugin system for Django

Visit djp.readthedocs.io for full documentation, including how to install plugins and how to write new plugins.

See DJP: A plugin system for Django for an introduction to this project.

Installation

Install this library using pip:

pip install djp

Configuration

Add this to the end of your settings.py file:

import djp

# ... existing settings.py contents

djp.settings(globals())

Then add this to your URL configuration in urls.py:

urlpatterns = [
    # ...
] + djp.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:

cd djp
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

python -m pip install -e '.[test]'

To run the tests:

python -m pytest

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djp-0.3.1.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djp-0.3.1-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file djp-0.3.1.tar.gz.

File metadata

  • Download URL: djp-0.3.1.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for djp-0.3.1.tar.gz
Algorithm Hash digest
SHA256 7d447c2f42282ec7628567e4ece5090ef37095b87e0853ebe8f0b876a1143e83
MD5 32ccd9f6db389be1f8ff19d407b52e0f
BLAKE2b-256 835895fdfa5c5d9b7c64a96599b9f5fbfa34c254c28961ddd93491cf4e550b22

See more details on using hashes here.

File details

Details for the file djp-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: djp-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for djp-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dd2490907d503fef0f1a729d00268fbcb7c11c77b33b9a46b6d13cc7cb5dc389
MD5 8668b64ffffe27af9cdb53ffacaff577
BLAKE2b-256 60730dc7d0c372ed366ecb8b7dd760525c90f53e0e2f40f8e944cd810d017a4a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 files

0.3

2 files

0.2

2 files

0.1.2

2 files

0.1.1

2 files

0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page