Skip to content
/ gmenu Public

The Global Menu is an open-source build for python-django framework

License

Notifications You must be signed in to change notification settings

Ione03/gmenu

Repository files navigation

Global Menu

PyPI - Python Version PyPI - Django Version

The Global Menu is an open-source build for python-django framework. It provides an easy way to create menu base on model.

Get Started

To get started build menu :

  1. Add gmenu to your INSTALLED_APPS setting like this :
    INSTALLED_APPS = [
        ...
        'gmenu',
    ]
  1. Include the gmenu URLconf in your project urls.py like this::
    path('', include('gmenu.urls')),
  1. On root folder (where manage.py reside), run python manage.py migrate to create the menu models.

  2. On same folder as above, run python manage.py createsuperuser to create super user, so you have access to admin page.

  3. Start the development server and visit http://127.0.0.1:8000/admin/

  4. Click on Menus and then add menu +. Field you have to full field is user and name The complete fields is :

    Field Name Value
    user choose username you have been create on step 4
    parent parent menu, leave it blank if you want to create root menu
    name menu name, appear in your project
    link where to go if user click this menu
    icon you can use awesome font from bootstrap
    order menu order number menu
    kind frontend without login or frontend with login or backend menu
    is visible make menu visible or invisible
    is master menu make menu avilable for another user
    is statis menu make menu have access to statis page (the page is created by user)

About

The Global Menu is an open-source build for python-django framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published