mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
Sort imports
This commit is contained in:
parent
897f3c57f8
commit
907951a49f
3 changed files with 8 additions and 3 deletions
|
@ -1,8 +1,9 @@
|
||||||
|
import subprocess
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
from flask import flash
|
from flask import flash
|
||||||
from flask_login import current_user
|
from flask_login import current_user
|
||||||
from sqlalchemy import select
|
from sqlalchemy import select
|
||||||
import subprocess
|
|
||||||
|
|
||||||
from . import data_dir
|
from . import data_dir
|
||||||
from .models import Assistant, Semester, User, db
|
from .models import Assistant, Semester, User, db
|
||||||
|
|
|
@ -28,7 +28,11 @@ from wtforms.validators import URL, DataRequired, Email, NumberRange, Optional
|
||||||
from wtforms.widgets import NumberInput
|
from wtforms.widgets import NumberInput
|
||||||
|
|
||||||
from . import data_dir, user_datastore
|
from . import data_dir, user_datastore
|
||||||
from .actions import deactivate_assistants, update_final_experiment_and_part_marks, manual_backup
|
from .actions import (
|
||||||
|
deactivate_assistants,
|
||||||
|
manual_backup,
|
||||||
|
update_final_experiment_and_part_marks,
|
||||||
|
)
|
||||||
from .admin_link_formatters import (
|
from .admin_link_formatters import (
|
||||||
admin_formatter,
|
admin_formatter,
|
||||||
appointment_date_formatter,
|
appointment_date_formatter,
|
||||||
|
|
|
@ -4,8 +4,8 @@ from pathlib import Path
|
||||||
from flask import flash
|
from flask import flash
|
||||||
from sqlalchemy import select
|
from sqlalchemy import select
|
||||||
|
|
||||||
from .exceptions import DatabaseImportException
|
|
||||||
from .actions import backup
|
from .actions import backup
|
||||||
|
from .exceptions import DatabaseImportException
|
||||||
from .models import (
|
from .models import (
|
||||||
Appointment,
|
Appointment,
|
||||||
Assistant,
|
Assistant,
|
||||||
|
|
Loading…
Reference in a new issue