diff --git a/backend/myproject/announcements/__pycache__/__init__.cpython-312.pyc b/backend/myproject/announcements/__pycache__/__init__.cpython-312.pyc index ff55727..e327c83 100644 Binary files a/backend/myproject/announcements/__pycache__/__init__.cpython-312.pyc and b/backend/myproject/announcements/__pycache__/__init__.cpython-312.pyc differ diff --git a/backend/myproject/announcements/__pycache__/admin.cpython-312.pyc b/backend/myproject/announcements/__pycache__/admin.cpython-312.pyc new file mode 100644 index 0000000..515370d Binary files /dev/null and b/backend/myproject/announcements/__pycache__/admin.cpython-312.pyc differ diff --git a/backend/myproject/announcements/__pycache__/api.cpython-312.pyc b/backend/myproject/announcements/__pycache__/api.cpython-312.pyc new file mode 100644 index 0000000..c553a7b Binary files /dev/null and b/backend/myproject/announcements/__pycache__/api.cpython-312.pyc differ diff --git a/backend/myproject/announcements/__pycache__/api.cpython-313.pyc b/backend/myproject/announcements/__pycache__/api.cpython-313.pyc index 69daa99..d5d83f5 100644 Binary files a/backend/myproject/announcements/__pycache__/api.cpython-313.pyc and b/backend/myproject/announcements/__pycache__/api.cpython-313.pyc differ diff --git a/backend/myproject/announcements/__pycache__/apps.cpython-312.pyc b/backend/myproject/announcements/__pycache__/apps.cpython-312.pyc index c4ada40..c906df0 100644 Binary files a/backend/myproject/announcements/__pycache__/apps.cpython-312.pyc and b/backend/myproject/announcements/__pycache__/apps.cpython-312.pyc differ diff --git a/backend/myproject/announcements/__pycache__/models.cpython-312.pyc b/backend/myproject/announcements/__pycache__/models.cpython-312.pyc index 1d48f7f..1c78815 100644 Binary files a/backend/myproject/announcements/__pycache__/models.cpython-312.pyc and b/backend/myproject/announcements/__pycache__/models.cpython-312.pyc differ diff --git a/backend/myproject/announcements/__pycache__/models.cpython-313.pyc b/backend/myproject/announcements/__pycache__/models.cpython-313.pyc index 7fe26b9..e47194b 100644 Binary files a/backend/myproject/announcements/__pycache__/models.cpython-313.pyc and b/backend/myproject/announcements/__pycache__/models.cpython-313.pyc differ diff --git a/backend/myproject/announcements/__pycache__/schemas.cpython-312.pyc b/backend/myproject/announcements/__pycache__/schemas.cpython-312.pyc new file mode 100644 index 0000000..7f23ec3 Binary files /dev/null and b/backend/myproject/announcements/__pycache__/schemas.cpython-312.pyc differ diff --git a/backend/myproject/announcements/__pycache__/schemas.cpython-313.pyc b/backend/myproject/announcements/__pycache__/schemas.cpython-313.pyc index a151590..dfe30e3 100644 Binary files a/backend/myproject/announcements/__pycache__/schemas.cpython-313.pyc and b/backend/myproject/announcements/__pycache__/schemas.cpython-313.pyc differ diff --git a/backend/myproject/announcements/__pycache__/services.cpython-313.pyc b/backend/myproject/announcements/__pycache__/services.cpython-313.pyc deleted file mode 100644 index 6712077..0000000 Binary files a/backend/myproject/announcements/__pycache__/services.cpython-313.pyc and /dev/null differ diff --git a/backend/myproject/announcements/api.py b/backend/myproject/announcements/api.py index 2261c8b..8f9186e 100644 --- a/backend/myproject/announcements/api.py +++ b/backend/myproject/announcements/api.py @@ -1,15 +1,26 @@ from django.shortcuts import get_object_or_404 from django.middleware.csrf import get_token from ninja_extra import NinjaExtraAPI, ControllerBase, api_controller, route -from .models import PostModel +from django.middleware.csrf import get_token +from django.core.paginator import Paginator +from .models import PostModel, NotificationModel from . import schemas from .schemas import PostSchema from .services import AnnouncementService @api_controller("/posts", tags="Posts") class PostAPIController(ControllerBase): - def __init__(self) -> None: - self.post_service = AnnouncementService() + + def _check_admin(self, request): + # Check if the user is authenticated and has an admin role. + if not request.user.is_authenticated or request.user.role != 'admin': + return JsonResponse({"detail": "Admin privileges required"}, status=403) + return None + + def _check_user(self, request): + if not request.user.is_authenticated or request.user.role !='member': + return JsonResponse({"detail": "User privileges required"}, status=403) + return None # API endpoint to create a new post (admin only). @route.post("/add", url_name="Add Post") @@ -27,9 +38,56 @@ def create_post(self, request, payload: schemas.PostCreateSchema): # API endpoint to list all posts. @route.get("/", url_name="List Posts") - def list_posts(self, request): - return self.post_service.list_posts() + def list_posts(self, request, page: int=1, per_page: int=10): + posts = PostModel.objects.all().order_by("created_at") + paginator=Paginator(posts,per_page) + page_obj=paginator.get_page(page) + + return{ + "total_pages": paginator.num_pages, "current_page": page, "data": [ + { + "id": post.id, + "title": post.title, + "description": post.description, + "created_at": post.created_at.isoformat(), + "created_by": post.created_by.id, + } + for post in page_obj + ], + } + + @route.post("/notifications/", url_name="Notifications") + def user_notifications(self, request, unread:bool=False, page: int = 1, per_page: int = 10): + user=request.user + result=self._check_user(request) + if result is not None: + return result + + notifications = NotificationModel.objects.filter(user=user, notification_type__in=["SC", "DE"]) + + if unread: + notifications = notifications.filter(is_read=False) + else: + notifications.update(is_read=True) + + notifications = notifications.order_by("-is_read", "-created_at") + + paginator=Paginator(notifications, per_page) + page_obj=paginator.get_page(page) + return { + "total_pages": paginator.num_pages,"current_page": page, + "notifications": [ + { + "id": notif.id, + "message": notif.message, + "is_read": notif.is_read, + "created_at": notif.created_at.isoformat(), + } + for notif in page_obj + ] + } + @route.put("/{post_id}", url_name="Update Post", response=PostSchema) def update_post(self, request, post_id: int, payload: schemas.PostUpdateSchema): self.post_service._check_admin(request) diff --git a/backend/myproject/announcements/migrations/__pycache__/0001_initial.cpython-312.pyc b/backend/myproject/announcements/migrations/__pycache__/0001_initial.cpython-312.pyc index ee88c77..53e212b 100644 Binary files a/backend/myproject/announcements/migrations/__pycache__/0001_initial.cpython-312.pyc and b/backend/myproject/announcements/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/backend/myproject/announcements/migrations/__pycache__/0001_initial.cpython-313.pyc b/backend/myproject/announcements/migrations/__pycache__/0001_initial.cpython-313.pyc index 0af9e95..d238702 100644 Binary files a/backend/myproject/announcements/migrations/__pycache__/0001_initial.cpython-313.pyc and b/backend/myproject/announcements/migrations/__pycache__/0001_initial.cpython-313.pyc differ diff --git a/backend/myproject/announcements/migrations/__pycache__/0002_initial.cpython-312.pyc b/backend/myproject/announcements/migrations/__pycache__/0002_initial.cpython-312.pyc new file mode 100644 index 0000000..797cfaa Binary files /dev/null and b/backend/myproject/announcements/migrations/__pycache__/0002_initial.cpython-312.pyc differ diff --git a/backend/myproject/announcements/migrations/__pycache__/0002_initial.cpython-313.pyc b/backend/myproject/announcements/migrations/__pycache__/0002_initial.cpython-313.pyc index 73eba0b..60fa7fa 100644 Binary files a/backend/myproject/announcements/migrations/__pycache__/0002_initial.cpython-313.pyc and b/backend/myproject/announcements/migrations/__pycache__/0002_initial.cpython-313.pyc differ diff --git a/backend/myproject/announcements/migrations/__pycache__/0003_postmodel.cpython-312.pyc b/backend/myproject/announcements/migrations/__pycache__/0003_postmodel.cpython-312.pyc new file mode 100644 index 0000000..31e916b Binary files /dev/null and b/backend/myproject/announcements/migrations/__pycache__/0003_postmodel.cpython-312.pyc differ diff --git a/backend/myproject/announcements/migrations/__pycache__/0003_postmodel.cpython-313.pyc b/backend/myproject/announcements/migrations/__pycache__/0003_postmodel.cpython-313.pyc index dc423bb..8dc68e8 100644 Binary files a/backend/myproject/announcements/migrations/__pycache__/0003_postmodel.cpython-313.pyc and b/backend/myproject/announcements/migrations/__pycache__/0003_postmodel.cpython-313.pyc differ diff --git a/backend/myproject/announcements/migrations/__pycache__/__init__.cpython-312.pyc b/backend/myproject/announcements/migrations/__pycache__/__init__.cpython-312.pyc index d40bcee..a4f8e35 100644 Binary files a/backend/myproject/announcements/migrations/__pycache__/__init__.cpython-312.pyc and b/backend/myproject/announcements/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/backend/myproject/db.sqlite3 b/backend/myproject/db.sqlite3 deleted file mode 100644 index 1a95bbb..0000000 Binary files a/backend/myproject/db.sqlite3 and /dev/null differ diff --git a/backend/myproject/members/__pycache__/__init__.cpython-312.pyc b/backend/myproject/members/__pycache__/__init__.cpython-312.pyc index 79d9fda..683eec0 100644 Binary files a/backend/myproject/members/__pycache__/__init__.cpython-312.pyc and b/backend/myproject/members/__pycache__/__init__.cpython-312.pyc differ diff --git a/backend/myproject/members/__pycache__/admin.cpython-312.pyc b/backend/myproject/members/__pycache__/admin.cpython-312.pyc index c2f290d..e3c104e 100644 Binary files a/backend/myproject/members/__pycache__/admin.cpython-312.pyc and b/backend/myproject/members/__pycache__/admin.cpython-312.pyc differ diff --git a/backend/myproject/members/__pycache__/admin.cpython-313.pyc b/backend/myproject/members/__pycache__/admin.cpython-313.pyc index 0174558..80ee687 100644 Binary files a/backend/myproject/members/__pycache__/admin.cpython-313.pyc and b/backend/myproject/members/__pycache__/admin.cpython-313.pyc differ diff --git a/backend/myproject/members/__pycache__/api.cpython-312.pyc b/backend/myproject/members/__pycache__/api.cpython-312.pyc index e047263..b72ea23 100644 Binary files a/backend/myproject/members/__pycache__/api.cpython-312.pyc and b/backend/myproject/members/__pycache__/api.cpython-312.pyc differ diff --git a/backend/myproject/members/__pycache__/api.cpython-313.pyc b/backend/myproject/members/__pycache__/api.cpython-313.pyc index 5dda276..c34b40e 100644 Binary files a/backend/myproject/members/__pycache__/api.cpython-313.pyc and b/backend/myproject/members/__pycache__/api.cpython-313.pyc differ diff --git a/backend/myproject/members/__pycache__/apps.cpython-312.pyc b/backend/myproject/members/__pycache__/apps.cpython-312.pyc index d054701..5e9c264 100644 Binary files a/backend/myproject/members/__pycache__/apps.cpython-312.pyc and b/backend/myproject/members/__pycache__/apps.cpython-312.pyc differ diff --git a/backend/myproject/members/__pycache__/managers.cpython-312.pyc b/backend/myproject/members/__pycache__/managers.cpython-312.pyc new file mode 100644 index 0000000..564b727 Binary files /dev/null and b/backend/myproject/members/__pycache__/managers.cpython-312.pyc differ diff --git a/backend/myproject/members/__pycache__/managers.cpython-313.pyc b/backend/myproject/members/__pycache__/managers.cpython-313.pyc index 25dd7e0..e017f28 100644 Binary files a/backend/myproject/members/__pycache__/managers.cpython-313.pyc and b/backend/myproject/members/__pycache__/managers.cpython-313.pyc differ diff --git a/backend/myproject/members/__pycache__/models.cpython-312.pyc b/backend/myproject/members/__pycache__/models.cpython-312.pyc index 028ac0f..75b9a5f 100644 Binary files a/backend/myproject/members/__pycache__/models.cpython-312.pyc and b/backend/myproject/members/__pycache__/models.cpython-312.pyc differ diff --git a/backend/myproject/members/__pycache__/models.cpython-313.pyc b/backend/myproject/members/__pycache__/models.cpython-313.pyc index e671d2f..3b837cc 100644 Binary files a/backend/myproject/members/__pycache__/models.cpython-313.pyc and b/backend/myproject/members/__pycache__/models.cpython-313.pyc differ diff --git a/backend/myproject/members/__pycache__/schemas.cpython-312.pyc b/backend/myproject/members/__pycache__/schemas.cpython-312.pyc index 626a82d..1be2f7c 100644 Binary files a/backend/myproject/members/__pycache__/schemas.cpython-312.pyc and b/backend/myproject/members/__pycache__/schemas.cpython-312.pyc differ diff --git a/backend/myproject/members/__pycache__/schemas.cpython-313.pyc b/backend/myproject/members/__pycache__/schemas.cpython-313.pyc index aaf0573..dfcd7e8 100644 Binary files a/backend/myproject/members/__pycache__/schemas.cpython-313.pyc and b/backend/myproject/members/__pycache__/schemas.cpython-313.pyc differ diff --git a/backend/myproject/members/__pycache__/services.cpython-313.pyc b/backend/myproject/members/__pycache__/services.cpython-313.pyc deleted file mode 100644 index f2d4485..0000000 Binary files a/backend/myproject/members/__pycache__/services.cpython-313.pyc and /dev/null differ diff --git a/backend/myproject/members/management/__pycache__/__init__.cpython-312.pyc b/backend/myproject/members/management/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..87c8466 Binary files /dev/null and b/backend/myproject/members/management/__pycache__/__init__.cpython-312.pyc differ diff --git a/backend/myproject/members/management/__pycache__/__init__.cpython-313.pyc b/backend/myproject/members/management/__pycache__/__init__.cpython-313.pyc index f2eac64..0432021 100644 Binary files a/backend/myproject/members/management/__pycache__/__init__.cpython-313.pyc and b/backend/myproject/members/management/__pycache__/__init__.cpython-313.pyc differ diff --git a/backend/myproject/members/migrations/__pycache__/0001_initial.cpython-312.pyc b/backend/myproject/members/migrations/__pycache__/0001_initial.cpython-312.pyc index 875d377..b96bd48 100644 Binary files a/backend/myproject/members/migrations/__pycache__/0001_initial.cpython-312.pyc and b/backend/myproject/members/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/backend/myproject/members/migrations/__pycache__/0001_initial.cpython-313.pyc b/backend/myproject/members/migrations/__pycache__/0001_initial.cpython-313.pyc index 0882a48..0760654 100644 Binary files a/backend/myproject/members/migrations/__pycache__/0001_initial.cpython-313.pyc and b/backend/myproject/members/migrations/__pycache__/0001_initial.cpython-313.pyc differ diff --git a/backend/myproject/members/migrations/__pycache__/0002_initial.cpython-312.pyc b/backend/myproject/members/migrations/__pycache__/0002_initial.cpython-312.pyc new file mode 100644 index 0000000..b7a93ad Binary files /dev/null and b/backend/myproject/members/migrations/__pycache__/0002_initial.cpython-312.pyc differ diff --git a/backend/myproject/members/migrations/__pycache__/0002_initial.cpython-313.pyc b/backend/myproject/members/migrations/__pycache__/0002_initial.cpython-313.pyc index 15d5651..d761016 100644 Binary files a/backend/myproject/members/migrations/__pycache__/0002_initial.cpython-313.pyc and b/backend/myproject/members/migrations/__pycache__/0002_initial.cpython-313.pyc differ diff --git a/backend/myproject/members/migrations/__pycache__/0003_remove_customuser_semester_customuser_passout_year.cpython-313.pyc b/backend/myproject/members/migrations/__pycache__/0003_remove_customuser_semester_customuser_passout_year.cpython-313.pyc deleted file mode 100644 index 67b3a40..0000000 Binary files a/backend/myproject/members/migrations/__pycache__/0003_remove_customuser_semester_customuser_passout_year.cpython-313.pyc and /dev/null differ diff --git a/backend/myproject/members/migrations/__pycache__/__init__.cpython-312.pyc b/backend/myproject/members/migrations/__pycache__/__init__.cpython-312.pyc index 4820e28..490ff7c 100644 Binary files a/backend/myproject/members/migrations/__pycache__/__init__.cpython-312.pyc and b/backend/myproject/members/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/backend/myproject/myproject/__pycache__/__init__.cpython-312.pyc b/backend/myproject/myproject/__pycache__/__init__.cpython-312.pyc index 6a979f1..186e44a 100644 Binary files a/backend/myproject/myproject/__pycache__/__init__.cpython-312.pyc and b/backend/myproject/myproject/__pycache__/__init__.cpython-312.pyc differ diff --git a/backend/myproject/myproject/__pycache__/settings.cpython-312.pyc b/backend/myproject/myproject/__pycache__/settings.cpython-312.pyc index 2121d87..2a85251 100644 Binary files a/backend/myproject/myproject/__pycache__/settings.cpython-312.pyc and b/backend/myproject/myproject/__pycache__/settings.cpython-312.pyc differ diff --git a/backend/myproject/myproject/__pycache__/settings.cpython-313.pyc b/backend/myproject/myproject/__pycache__/settings.cpython-313.pyc index 5d7d8ba..6dd5ef1 100644 Binary files a/backend/myproject/myproject/__pycache__/settings.cpython-313.pyc and b/backend/myproject/myproject/__pycache__/settings.cpython-313.pyc differ diff --git a/backend/myproject/myproject/__pycache__/urls.cpython-312.pyc b/backend/myproject/myproject/__pycache__/urls.cpython-312.pyc index cb28ccc..8e74de7 100644 Binary files a/backend/myproject/myproject/__pycache__/urls.cpython-312.pyc and b/backend/myproject/myproject/__pycache__/urls.cpython-312.pyc differ diff --git a/backend/myproject/myproject/__pycache__/urls.cpython-313.pyc b/backend/myproject/myproject/__pycache__/urls.cpython-313.pyc index 402239a..3d732e1 100644 Binary files a/backend/myproject/myproject/__pycache__/urls.cpython-313.pyc and b/backend/myproject/myproject/__pycache__/urls.cpython-313.pyc differ diff --git a/backend/myproject/myproject/__pycache__/wsgi.cpython-312.pyc b/backend/myproject/myproject/__pycache__/wsgi.cpython-312.pyc index 5a852c6..22b8d5a 100644 Binary files a/backend/myproject/myproject/__pycache__/wsgi.cpython-312.pyc and b/backend/myproject/myproject/__pycache__/wsgi.cpython-312.pyc differ diff --git a/backend/myproject/projects/__pycache__/__init__.cpython-312.pyc b/backend/myproject/projects/__pycache__/__init__.cpython-312.pyc index 0dedb06..aba1eb9 100644 Binary files a/backend/myproject/projects/__pycache__/__init__.cpython-312.pyc and b/backend/myproject/projects/__pycache__/__init__.cpython-312.pyc differ diff --git a/backend/myproject/projects/__pycache__/admin.cpython-312.pyc b/backend/myproject/projects/__pycache__/admin.cpython-312.pyc new file mode 100644 index 0000000..a2787c2 Binary files /dev/null and b/backend/myproject/projects/__pycache__/admin.cpython-312.pyc differ diff --git a/backend/myproject/projects/__pycache__/api.cpython-312.pyc b/backend/myproject/projects/__pycache__/api.cpython-312.pyc index e60f8df..62803f8 100644 Binary files a/backend/myproject/projects/__pycache__/api.cpython-312.pyc and b/backend/myproject/projects/__pycache__/api.cpython-312.pyc differ diff --git a/backend/myproject/projects/__pycache__/api.cpython-313.pyc b/backend/myproject/projects/__pycache__/api.cpython-313.pyc index 32c767a..bdc1ccf 100644 Binary files a/backend/myproject/projects/__pycache__/api.cpython-313.pyc and b/backend/myproject/projects/__pycache__/api.cpython-313.pyc differ diff --git a/backend/myproject/projects/__pycache__/apps.cpython-312.pyc b/backend/myproject/projects/__pycache__/apps.cpython-312.pyc index 3a9d06f..f28eea3 100644 Binary files a/backend/myproject/projects/__pycache__/apps.cpython-312.pyc and b/backend/myproject/projects/__pycache__/apps.cpython-312.pyc differ diff --git a/backend/myproject/projects/__pycache__/models.cpython-312.pyc b/backend/myproject/projects/__pycache__/models.cpython-312.pyc index 910c563..e9a3804 100644 Binary files a/backend/myproject/projects/__pycache__/models.cpython-312.pyc and b/backend/myproject/projects/__pycache__/models.cpython-312.pyc differ diff --git a/backend/myproject/projects/__pycache__/schemas.cpython-312.pyc b/backend/myproject/projects/__pycache__/schemas.cpython-312.pyc index 3576917..89d6e2b 100644 Binary files a/backend/myproject/projects/__pycache__/schemas.cpython-312.pyc and b/backend/myproject/projects/__pycache__/schemas.cpython-312.pyc differ diff --git a/backend/myproject/projects/__pycache__/schemas.cpython-313.pyc b/backend/myproject/projects/__pycache__/schemas.cpython-313.pyc index a9b9519..b9a95c8 100644 Binary files a/backend/myproject/projects/__pycache__/schemas.cpython-313.pyc and b/backend/myproject/projects/__pycache__/schemas.cpython-313.pyc differ diff --git a/backend/myproject/projects/__pycache__/services.cpython-312.pyc b/backend/myproject/projects/__pycache__/services.cpython-312.pyc index 95b881b..92ea336 100644 Binary files a/backend/myproject/projects/__pycache__/services.cpython-312.pyc and b/backend/myproject/projects/__pycache__/services.cpython-312.pyc differ diff --git a/backend/myproject/projects/__pycache__/services.cpython-313.pyc b/backend/myproject/projects/__pycache__/services.cpython-313.pyc index e20c000..07b6e44 100644 Binary files a/backend/myproject/projects/__pycache__/services.cpython-313.pyc and b/backend/myproject/projects/__pycache__/services.cpython-313.pyc differ diff --git a/backend/myproject/projects/migrations/__pycache__/0001_initial.cpython-312.pyc b/backend/myproject/projects/migrations/__pycache__/0001_initial.cpython-312.pyc index c87d9ee..70732c4 100644 Binary files a/backend/myproject/projects/migrations/__pycache__/0001_initial.cpython-312.pyc and b/backend/myproject/projects/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/backend/myproject/projects/migrations/__pycache__/0001_initial.cpython-313.pyc b/backend/myproject/projects/migrations/__pycache__/0001_initial.cpython-313.pyc index c975a1a..36f6290 100644 Binary files a/backend/myproject/projects/migrations/__pycache__/0001_initial.cpython-313.pyc and b/backend/myproject/projects/migrations/__pycache__/0001_initial.cpython-313.pyc differ diff --git a/backend/myproject/projects/migrations/__pycache__/__init__.cpython-312.pyc b/backend/myproject/projects/migrations/__pycache__/__init__.cpython-312.pyc index cc814ab..d18e78b 100644 Binary files a/backend/myproject/projects/migrations/__pycache__/__init__.cpython-312.pyc and b/backend/myproject/projects/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/backend/myproject/registrations/__pycache__/__init__.cpython-312.pyc b/backend/myproject/registrations/__pycache__/__init__.cpython-312.pyc index 643e5c4..0726fa2 100644 Binary files a/backend/myproject/registrations/__pycache__/__init__.cpython-312.pyc and b/backend/myproject/registrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/backend/myproject/registrations/__pycache__/admin.cpython-312.pyc b/backend/myproject/registrations/__pycache__/admin.cpython-312.pyc new file mode 100644 index 0000000..f4a19f3 Binary files /dev/null and b/backend/myproject/registrations/__pycache__/admin.cpython-312.pyc differ diff --git a/backend/myproject/registrations/__pycache__/api.cpython-313.pyc b/backend/myproject/registrations/__pycache__/api.cpython-313.pyc deleted file mode 100644 index 330189a..0000000 Binary files a/backend/myproject/registrations/__pycache__/api.cpython-313.pyc and /dev/null differ diff --git a/backend/myproject/registrations/__pycache__/apps.cpython-312.pyc b/backend/myproject/registrations/__pycache__/apps.cpython-312.pyc index fa5705d..a7f48b4 100644 Binary files a/backend/myproject/registrations/__pycache__/apps.cpython-312.pyc and b/backend/myproject/registrations/__pycache__/apps.cpython-312.pyc differ diff --git a/backend/myproject/registrations/__pycache__/models.cpython-312.pyc b/backend/myproject/registrations/__pycache__/models.cpython-312.pyc index f623521..6895ca9 100644 Binary files a/backend/myproject/registrations/__pycache__/models.cpython-312.pyc and b/backend/myproject/registrations/__pycache__/models.cpython-312.pyc differ diff --git a/backend/myproject/registrations/__pycache__/schemas.cpython-313.pyc b/backend/myproject/registrations/__pycache__/schemas.cpython-313.pyc deleted file mode 100644 index 534dada..0000000 Binary files a/backend/myproject/registrations/__pycache__/schemas.cpython-313.pyc and /dev/null differ diff --git a/backend/myproject/registrations/__pycache__/services.cpython-313.pyc b/backend/myproject/registrations/__pycache__/services.cpython-313.pyc deleted file mode 100644 index 192aca9..0000000 Binary files a/backend/myproject/registrations/__pycache__/services.cpython-313.pyc and /dev/null differ diff --git a/backend/myproject/registrations/migrations/__pycache__/0001_initial.cpython-312.pyc b/backend/myproject/registrations/migrations/__pycache__/0001_initial.cpython-312.pyc index 201b589..c670b69 100644 Binary files a/backend/myproject/registrations/migrations/__pycache__/0001_initial.cpython-312.pyc and b/backend/myproject/registrations/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/backend/myproject/registrations/migrations/__pycache__/0001_initial.cpython-313.pyc b/backend/myproject/registrations/migrations/__pycache__/0001_initial.cpython-313.pyc index 1ce9e4d..3d57f41 100644 Binary files a/backend/myproject/registrations/migrations/__pycache__/0001_initial.cpython-313.pyc and b/backend/myproject/registrations/migrations/__pycache__/0001_initial.cpython-313.pyc differ diff --git a/backend/myproject/registrations/migrations/__pycache__/__init__.cpython-312.pyc b/backend/myproject/registrations/migrations/__pycache__/__init__.cpython-312.pyc index 2f4c9e8..2d98b74 100644 Binary files a/backend/myproject/registrations/migrations/__pycache__/__init__.cpython-312.pyc and b/backend/myproject/registrations/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/frontend/pubspec.lock b/frontend/pubspec.lock index d2a78e1..708485b 100644 --- a/frontend/pubspec.lock +++ b/frontend/pubspec.lock @@ -268,18 +268,18 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" + sha256: c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec url: "https://pub.dev" source: hosted - version: "10.0.5" + version: "10.0.8" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" + sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573 url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.9" leak_tracker_testing: dependency: transitive description: @@ -532,7 +532,7 @@ packages: dependency: transitive description: flutter source: sdk - version: "0.0.99" + version: "0.0.0" source_span: dependency: transitive description: @@ -545,10 +545,10 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1" url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.12.1" stream_channel: dependency: transitive description: @@ -561,10 +561,10 @@ packages: dependency: transitive description: name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.4.1" term_glyph: dependency: transitive description: @@ -577,10 +577,10 @@ packages: dependency: transitive description: name: test_api - sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" + sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd url: "https://pub.dev" source: hosted - version: "0.7.2" + version: "0.7.4" typed_data: dependency: transitive description: @@ -665,10 +665,10 @@ packages: dependency: transitive description: name: vm_service - sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc + sha256: "0968250880a6c5fe7edc067ed0a13d4bae1577fe2771dcf3010d52c4a9d3ca14" url: "https://pub.dev" source: hosted - version: "14.2.4" + version: "14.3.1" web: dependency: transitive description: