Skip to content
Snippets Groups Projects
Commit 5270d4d2 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Fix order of imports

parent 229f75f1
No related branches found
No related tags found
1 merge request!113Resolve "Review permissions"
Pipeline #6489 passed
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
from django.contrib import admin from django.contrib import admin
from django.utils.html import format_html from django.utils.html import format_html
from guardian.admin import GuardedModelAdmin
from .models import ( from .models import (
Absence, Absence,
AbsenceReason, AbsenceReason,
...@@ -24,8 +26,6 @@ from .models import ( ...@@ -24,8 +26,6 @@ from .models import (
) )
from .util.format import format_date_period, format_m2m from .util.format import format_date_period, format_m2m
from guardian.admin import GuardedModelAdmin
def colour_badge(fg: str, bg: str, val: str): def colour_badge(fg: str, bg: str, val: str):
html = """ html = """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment