generated from boot-sandre/django-spaninja
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate license to all skii/ python files
- Loading branch information
1 parent
d185819
commit 697927d
Showing
48 changed files
with
336 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
__version__ = "0.4.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
import json | ||
import logging | ||
from ipaddress import IPv4Address, IPv6Address | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from django.apps import AppConfig | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from datetime import datetime | ||
|
||
from django.db.models import Q | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from .student import sub_route as route_student | ||
from .teacher import sub_route as route_teacher | ||
from .location import router as route_location | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from typing import List | ||
|
||
from ninja import Router, NinjaAPI | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from django.http import HttpRequest | ||
from django.contrib.auth import get_user_model | ||
from django.utils.translation import gettext_lazy as _ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from typing import List | ||
|
||
from django.http import HttpRequest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from typing import List | ||
|
||
from django.db.models import Model | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
import logging | ||
from typing import List, Any | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
""" Profile and user are related by foreign key. | ||
""" | ||
from typing import List | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
""" Profile and user are related by foreign key. | ||
""" | ||
from typing import List | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from typing import Type | ||
|
||
from ninja.schema import Schema | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from typing import List, Any, Dict | ||
|
||
from ninja import Schema | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from typing import List, Type | ||
|
||
from ninja import Schema | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from devtools import debug | ||
from django.http import HttpRequest | ||
from ninja import Schema | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from django.contrib import admin | ||
|
||
from skii.platform.models.agent import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from django.apps import AppConfig | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
import copy | ||
|
||
LATITUDE_RANGE_CONFIG = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from datetime import datetime | ||
from typing import Iterable | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
import uuid | ||
from dataclasses import dataclass | ||
from datetime import datetime, timedelta, time | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from skii.platform.factories.agent import ( | ||
SuperUserFactory, | ||
UserFactory, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
import factory | ||
|
||
from django.contrib.auth import get_user_model | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
import factory | ||
|
||
from skii.platform.constants import LATITUDE_RANGE_CONFIG, LONGITUDE_RANGE_CONFIG | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from datetime import timedelta, datetime, UTC | ||
|
||
from django.db.models import Model | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
import factory | ||
|
||
from .common import GeoCoordinateFactory, VisualAlbumFactory, VisualPictureFactory | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from django import forms | ||
|
||
from skii.platform.entities import mutate_event_state | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
# Generated by Django 4.2.5 on 2023-09-17 05:38 | ||
|
||
from decimal import Decimal | ||
|
7 changes: 7 additions & 0 deletions
7
skii/platform/migrations/0002_rename_uuid_lessonevent_guid_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
# Generated by Django 4.2.5 on 2023-09-28 18:40 | ||
|
||
from django.db import migrations | ||
|
7 changes: 7 additions & 0 deletions
7
skii/platform/migrations/0003_remove_lessonevent_check_no_overlap_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
# Generated by Django 4.2.6 on 2023-10-05 00:22 | ||
|
||
from django.db import migrations, models | ||
|
7 changes: 7 additions & 0 deletions
7
skii/platform/migrations/0004_alter_studentagent_user_alter_teacheragent_user.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
# Generated by Django 4.2.6 on 2023-10-09 16:28 | ||
|
||
from django.conf import settings | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from .user import SkiiUser | ||
|
||
__all__ = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
# Copyright © Simon ANDRÉ <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja | ||
from django.contrib.auth import get_user_model | ||
from django.db import models | ||
from django.utils.translation import gettext_lazy as _ | ||
|
Oops, something went wrong.