From c464d9894751709fc845b5d9b2ec25a90c73fef4 Mon Sep 17 00:00:00 2001 From: Hangzhi Yu <hangzhi@protonmail.com> Date: Wed, 1 Feb 2023 21:47:53 +0000 Subject: [PATCH] Remove unused legacy menus.py file --- CHANGELOG.rst | 8 ++++++++ aleksis/apps/stoelindeling/menus.py | 17 ----------------- 2 files changed, 8 insertions(+), 17 deletions(-) delete mode 100644 aleksis/apps/stoelindeling/menus.py diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ddb4e4b..58be4f5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file. The format is based on `Keep a Changelog`_, and this project adheres to `Semantic Versioning`_. +Breaking changes +---------------- + +Removed +~~~~~~~ + +* Remove legacy menu entries. + Unreleased ---------- diff --git a/aleksis/apps/stoelindeling/menus.py b/aleksis/apps/stoelindeling/menus.py deleted file mode 100644 index fc2ce01..0000000 --- a/aleksis/apps/stoelindeling/menus.py +++ /dev/null @@ -1,17 +0,0 @@ -from django.utils.translation import gettext_lazy as _ - -MENUS = { - "NAV_MENU_CORE": [ - { - "name": _("Seating plans"), - "url": "seating_plans", - "svg_icon": "mdi:view-list-outline", - "validators": [ - ( - "aleksis.core.util.predicates.permission_validator", - "stoelindeling.view_seatingplans_rule", - ), - ], - }, - ] -} -- GitLab