Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
django-menu-generator-ng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
AlekSIS®
Libraries
django-menu-generator-ng
Commits
fdffed75
Verified
Commit
fdffed75
authored
3 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Fix import
parent
d9b08466
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/changelog.rst
+1
-1
1 addition, 1 deletion
docs/changelog.rst
menu_generator/__init__.py
+1
-1
1 addition, 1 deletion
menu_generator/__init__.py
menu_generator/menu.py
+2
-1
2 additions, 1 deletion
menu_generator/menu.py
with
4 additions
and
3 deletions
docs/changelog.rst
+
1
−
1
View file @
fdffed75
CHANGELOG
=========
1.2.
2
(2021-03-28)
1.2.
3
(2021-03-28)
-----------------
- Bugfix:
...
...
This diff is collapsed.
Click to expand it.
menu_generator/__init__.py
+
1
−
1
View file @
fdffed75
__author__
=
'
Milton Lenis
'
__description__
=
'
A straightforward menu generator for Django
'
__version__
=
'
1.2.
2
'
__version__
=
'
1.2.
3
'
default_app_config
=
'
menu_generator.apps.MenuAppConfig
'
This diff is collapsed.
Click to expand it.
menu_generator/menu.py
+
2
−
1
View file @
fdffed75
import
copy
import
django
from
django.core.exceptions
import
ImproperlyConfigured
,
Resolver404
from
django.core.exceptions
import
ImproperlyConfigured
from
django.urls
import
Resolver404
from
.utils
import
get_callable
,
parse_url
,
path_startswith
if
django
.
VERSION
>=
(
1
,
10
):
# pragma: no cover
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment