Skip to content

Commit

Permalink
fix bug set order menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
cuongnb14 authored Oct 14, 2022
1 parent 20efdc5 commit 6229414
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin_extended/templatetags/sort_menu_items.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from django import template

from ..models import Bookmark
from ..settings import ADMIN_EXTENDED_SETTINGS
from django.conf import settings

register = template.Library()

MENU_APP_ORDER = ADMIN_EXTENDED_SETTINGS['MENU_APP_ORDER']
MENU_MODEL_ORDER = ADMIN_EXTENDED_SETTINGS['MENU_MODEL_ORDER']
APP_ICON = ADMIN_EXTENDED_SETTINGS['APP_ICON']
MENU_APP_ORDER = settings.ADMIN_EXTENDED_SETTINGS['MENU_APP_ORDER']
MENU_MODEL_ORDER = settings.ADMIN_EXTENDED_SETTINGS['MENU_MODEL_ORDER']
APP_ICON = settings.ADMIN_EXTENDED_SETTINGS['APP_ICON']


@register.filter
Expand Down

0 comments on commit 6229414

Please sign in to comment.