This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

  1. Add “rest_framework” and “hosted_plugins” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'rest_framework',
        'hosted_plugins',
    ]
    
  2. Include the plugins URLconf in your project urls.py like this:

    url(r'^plugins/', include('hosted_plugins.urls')),
    
  3. [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')),
    
  4. Install pytz if you’re using a database that will require it for querying datetime fields:

    pip install pytz
    
  5. Run python manage.py migrate to create the hosted_plugins models.

  6. Use the Django admin to add plugins, or use a script to automate it.

Release History

Release History

This version
History Node

0.1.1

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-hosted-plugins-0.1.1.tar.gz (7.3 kB) Copy SHA256 Checksum SHA256 Source Jun 19, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting