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

Add missing imports

parent 67d11aa9
No related branches found
No related tags found
1 merge request!369Resolve "Permissions for timetables are not checked properly"
Pipeline #193629 passed
......@@ -7,6 +7,7 @@ from datetime import date
from typing import Any
from django.contrib.contenttypes.models import ContentType
from django.core.exceptions import PermissionDenied
from django.core.validators import MinValueValidator
from django.db import models
from django.db.models import Q, QuerySet
......
......@@ -2,7 +2,7 @@ from datetime import date, datetime, timedelta
from typing import TYPE_CHECKING, Optional
from django.db.models import Count, Q
from django.http import HttpRequest
from django.http import HttpRequest, HttpResponseNotFound
from django.shortcuts import get_object_or_404
from guardian.shortcuts import get_objects_for_user
......
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