Git Product home page Git Product logo

gmenu's Introduction

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)

gmenu's People

Contributors

ione03 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.