Skip to content
Snippets Groups Projects
Unverified Commit 81dbc7a8 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix circular import.

parent d4c1419c
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,6 @@ from typing import Optional, Sequence
from django_global_request.middleware import get_request
from ..models import School
def get_app_packages() -> Sequence[str]:
""" Find all packages within the biscuit.apps namespace. """
......@@ -31,7 +29,8 @@ def get_app_packages() -> Sequence[str]:
return pkgs
def get_current_school() -> Optional[School]:
# FIXME Use more specific result type
def get_current_school() -> Optional:
request = get_request()
if request:
......
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