Skip to main content

Django plgooge practice modules.

Project description

Django plgooge practice modules.


The full documentation is at


Install django-dj-plugin:

pip install django-dj-plugin

Add it to your INSTALLED_APPS:


Add django-dj-plugin’s URL patterns:

from django_dj_plugin import urls as django_dj_plugin_urls

urlpatterns = [
    url(r'^', include(django_dj_plugin_urls)),

If you want to sort menu or hidden menu, replace ‘django.contrib.admin’ with ‘custadmin’ in your INSTALLED_APPS:

    # 'django.contrib.admin',

Add attribute(menu_hidden/menu_index) to your modelAdmin:

from django.contrib import admin

class XXXModelAdmin(admin.ModelAdmin):
    menu_hidden = True  # True:hidden the menu
    menu_index = 1 # type is int, The lower the value, the higher the rank

If you want add self-defined menu, Add it to your INSTALLED_APPS and execute: python migrate:


execute: python migrate


  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox


Tools used in rendering this package:


0.1.0 (2020-01-22)

  • First release on PyPI.

Project details

Download files

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

Source Distribution

django-dj-plugin-0.10.0.tar.gz (14.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page