diff --git a/etebase_fastapi/app.py b/etebase_fastapi/app.py index fac2a31..6fbdd04 100644 --- a/etebase_fastapi/app.py +++ b/etebase_fastapi/app.py @@ -9,7 +9,7 @@ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "etebase_server.settings") application = get_wsgi_application() from fastapi import FastAPI, Request -from .execptions import CustomHttpException +from .exceptions import CustomHttpException from .authentication import authentication_router from .collection import collection_router from .msgpack import MsgpackResponse diff --git a/etebase_fastapi/authentication.py b/etebase_fastapi/authentication.py index 9ecee4c..51ba80d 100644 --- a/etebase_fastapi/authentication.py +++ b/etebase_fastapi/authentication.py @@ -26,7 +26,7 @@ from django_etebase.token_auth.models import AuthToken from django_etebase.token_auth.models import get_default_expiry from django_etebase.utils import create_user from django_etebase.views import msgpack_encode, msgpack_decode -from .execptions import AuthenticationFailed, transform_validation_error, ValidationError +from .exceptions import AuthenticationFailed, transform_validation_error, ValidationError from .msgpack import MsgpackResponse, MsgpackRoute User = get_user_model() diff --git a/etebase_fastapi/collection.py b/etebase_fastapi/collection.py index 093ea8a..b4e9dae 100644 --- a/etebase_fastapi/collection.py +++ b/etebase_fastapi/collection.py @@ -14,7 +14,7 @@ from pydantic import BaseModel, Field from django_etebase import models from django_etebase.models import Collection, AccessLevels, CollectionMember from .authentication import get_authenticated_user -from .execptions import ValidationError +from .exceptions import ValidationError from .msgpack import MsgpackRoute, MsgpackResponse from .stoken_handler import filter_by_stoken_and_limit diff --git a/etebase_fastapi/execptions.py b/etebase_fastapi/exceptions.py similarity index 100% rename from etebase_fastapi/execptions.py rename to etebase_fastapi/exceptions.py