Verified Commit b4508454 authored by Jonathan Weth's avatar Jonathan Weth

Remove some unnecessary comments and reorder some imports

parent cf78b624
from django.contrib import admin
# Register your models here.
from .models import Menu
admin.site.register(Menu)
from django.db import models
from django.utils.translation import gettext_lazy as _
# Create your models here.
from aleksis.core.mixins import ExtensibleModel
from aleksis.core.util.core_helpers import path_and_rename
from django.utils.translation import gettext_lazy as _
def path_and_rename_menu(instance, filename: str) -> str:
......
from django.test import TestCase
# Create your tests here.
from django.urls import path
from . import views
urlpatterns = [
......
......@@ -6,13 +6,13 @@ from django.contrib.auth.decorators import login_required, permission_required
from django.http import FileResponse
from django.shortcuts import render, redirect, get_object_or_404
from django.utils import timezone
from django.utils.translation import gettext_lazy as _
from django.conf import settings
from .models import Menu
from .settings import BASE_DIR
from .forms import MenuUploadForm
from aleksis.core.util import messages
from django.utils.translation import gettext_lazy as _
@login_required
......
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