![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
|jazzband| |build-status| |coverage| |docs| |python-support| |django-support|
.. |latest-version| image:: https://img.shields.io/pypi/v/django-simple-menu.svg :target: https://pypi.python.org/pypi/django-simple-menu :alt: Latest version on PyPI
.. |jazzband| image:: https://jazzband.co/static/img/badge.svg :target: https://jazzband.co/ :alt: Jazzband
.. |build-status| image:: https://github.com/jazzband/django-simple-menu/actions/workflows/test.yml/badge.svg :target: https://github.com/jazzband/django-simple-menu/actions :alt: Build Status
.. |coverage| image:: https://img.shields.io/codecov/c/github/jazzband/django-simple-menu.svg :target: https://codecov.io/github/jazzband/django-simple-menu :alt: Test coverage status
.. |docs| image:: https://img.shields.io/readthedocs/django-simple-menu/latest.svg :target: https://django-simple-menu.readthedocs.io/ :alt: Documentation status
.. |python-support| image:: https://img.shields.io/pypi/pyversions/django-simple-menu :target: https://pypi.python.org/pypi/django-simple-menu :alt: Supported Python versions
.. |django-support| image:: https://img.shields.io/pypi/djversions/django-simple-menu :target: https://pypi.org/project/django-simple-menu :alt: Supported Django versions
django-simple-menu
is an entirely code based menu system, because, who
really wants to define their menus inside Django Admin?..
It's simple to use, yet provides enough flexibility to provide unlimited children menus, per-request generation and checking of menu items, badges, and more.
Requirements: Python 3.6+, Django 3.2+
Note: While this package does support Python 3.6 and 3.7 as well as Django 4.0, we do not test the package under these versions and may miss some bugs.
Install the django-simple-menu
package.
Add simple_menu
to your INSTALLED_APPS
.
django.template.context_processors.request
listed under TEMPLATES[...]["OPTIONS"]["context_processors"]
.Create menus.py
inside each app you want to create a menu for and define
said menus using the Menu
and MenuItem
classes you can import from
the simple_menu
package.
In your templates, load the template tags ({% load simple_menu %}
) and
call {% generate_menu %}
inside a block. Your context will be populated
with a new object named menus
. You can now iterate over it to render your
menus.
To quickly see django-simple-menu
in action, check out the
example project
_.
.. _example project: https://github.com/jazzband/django-simple-menu/tree/master/example
Full documentation, including installation and configuration instructions, is available at https://django-simple-menu.readthedocs.io/.
django-simple-menu
is released under the BSD 2-Clause "Simplified" License.
If you like it, please consider contributing!
django-simple-menu
was originally created by
Evan Borgstom evan@borgstrom.ca and was further developed by many
contributors_.
.. _contributors: https://github.com/jazzband/django-simple-menu/graphs/contributors
FAQs
Simple, yet powerful, code-based menus for Django applications
We found that django-simple-menu demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.