Verified Commit 30a00aa3 authored by Jonathan Weth's avatar Jonathan Weth

Fix app config

- Add missing content in __init__.py
- Rename app config to mensa and add verbose_name
parent b5543223
import pkg_resources
try:
__version__ = pkg_resources.get_distribution("AlekSIS-App-Mensa").version
except Exception:
__version__ = "unknown"
default_app_config = "aleksis.apps.mensa.apps.MensaConfig"
from django.apps import AppConfig
from aleksis.core.util.apps import AppConfig
class MenuConfig(AppConfig):
name = 'menu'
class MensaConfig(AppConfig):
name = "aleksis.apps.mensa"
verbose_name = "AlekSIS – Mēnsa (cantina menu)"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment