Self host third-party plugins that work alongside your project.
Project description
Django Hosted Plugins is used to host third-party plugins that work alongside your project but cannot be hosted on first-party plugin repositories due to restrictions imposed.
This project was started to overcome restrictions imposed by WordPress.com and is currently favoured towards hosting WordPress plugins.
Requires Django and Django REST Framework. It is untested and comes AS-IS.
Quick start
Add “rest_framework” and “hosted_plugins” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'rest_framework', 'hosted_plugins', ]
Include the plugins URLconf in your project urls.py like this:
url(r'^plugins/', include('hosted_plugins.urls')),
[OPTIONAL] Include login URLs for the browsable API. (See here for details: http://www.django-rest-framework.org/tutorial/quickstart/#urls):
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
Install pytz if you’re using a database that will require it for querying datetime fields:
pip install pytz
Run python manage.py migrate to create the hosted_plugins models.
Use the Django admin to add plugins, or use a script to automate it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-hosted-plugins-0.1.1.tar.gz
.
File metadata
- Download URL: django-hosted-plugins-0.1.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76ac1058eb3f3774ca364a92b8a8ffd3bba07bfe243fea3a358e05441bfd477c |
|
MD5 | 34cbe01c0f07688f76d175b11d68b399 |
|
BLAKE2b-256 | 4df0344f0cbc65ce03f92d904a959e33cabeee17c8a16257a046936d3f209d59 |