This commit is contained in:
Marwan Alwali 2025-11-02 19:30:03 +03:00
parent a04817ef6e
commit 97ece5aa20
6 changed files with 43 additions and 4 deletions

View File

@ -139,10 +139,11 @@ AUTH_USER_MODEL = 'core.User'
# Authentication URLs
LOGIN_URL = 'login'
LOGIN_REDIRECT_URL = '/'
LOGIN_REDIRECT_URL = '/dashboard/'
LOGOUT_REDIRECT_URL = 'login'
# Password validation
# https://docs.djangoproject.com/en/5.2/ref/settings/#auth-password-validators

View File

@ -9,11 +9,11 @@ from . import api_consent
app_name = 'core'
urlpatterns = [
# Public Landing Page
path('landing/', views.LandingPageView.as_view(), name='landing_page'),
# Public Landing Page (Root URL)
path('', views.LandingPageView.as_view(), name='landing_page'),
# Dashboard
path('', views.DashboardView.as_view(), name='dashboard'),
path('dashboard/', views.DashboardView.as_view(), name='dashboard'),
# User Signup
path('signup/', views.SignupView.as_view(), name='signup'),

Binary file not shown.

View File

@ -74846,3 +74846,41 @@ INFO 2025-11-02 19:24:12,453 basehttp 78288 6155726848 "GET /en/notifications/ap
INFO 2025-11-02 19:24:12,683 basehttp 78288 6155726848 "GET /__debug__/history_sidebar/?request_id=47e6f8a4365245bf8bf88f0aaae2d091 HTTP/1.1" 200 9547
INFO 2025-11-02 19:24:42,446 basehttp 78288 6155726848 "GET /en/notifications/api/unread-count/ HTTP/1.1" 200 19
INFO 2025-11-02 19:24:42,666 basehttp 78288 6155726848 "GET /__debug__/history_sidebar/?request_id=9caba9807c3148dea529bfc13d044330 HTTP/1.1" 200 9547
INFO 2025-11-02 19:25:12,442 basehttp 78288 6155726848 "GET /en/notifications/api/unread-count/ HTTP/1.1" 200 19
INFO 2025-11-02 19:25:12,673 basehttp 78288 6155726848 "GET /__debug__/history_sidebar/?request_id=dbf5f80af0cf4cf9b3e3f809fa242a0d HTTP/1.1" 200 9547
INFO 2025-11-02 19:25:42,440 basehttp 78288 6155726848 "GET /en/notifications/api/unread-count/ HTTP/1.1" 200 19
INFO 2025-11-02 19:25:42,672 basehttp 78288 6155726848 "GET /__debug__/history_sidebar/?request_id=06b34adbc2fa4407ae1915b1d29ee1ca HTTP/1.1" 200 9547
INFO 2025-11-02 19:26:12,433 basehttp 78288 6155726848 "GET /en/notifications/api/unread-count/ HTTP/1.1" 200 19
INFO 2025-11-02 19:26:12,660 basehttp 78288 6155726848 "GET /__debug__/history_sidebar/?request_id=a4b64c25fe7a4cfebe9c1e2829db7909 HTTP/1.1" 200 9547
INFO 2025-11-02 19:26:20,873 autoreload 78288 8648941888 /Users/marwanalwali/AgdarCentre/AgdarCentre/settings.py changed, reloading.
INFO 2025-11-02 19:26:21,363 autoreload 93988 8648941888 Watching for file changes with StatReloader
INFO 2025-11-02 19:26:24,302 basehttp 93988 6157103104 "POST /en/accounts/logout/ HTTP/1.1" 302 0
INFO 2025-11-02 19:26:24,379 basehttp 93988 6157103104 "GET /en/accounts/login/ HTTP/1.1" 200 24764
WARNING 2025-11-02 19:26:24,459 log 93988 6157103104 Not Found: /.well-known/appspecific/com.chrome.devtools.json
WARNING 2025-11-02 19:26:24,459 basehttp 93988 6157103104 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 16668
WARNING 2025-11-02 19:26:24,481 basehttp 93988 6157103104 "GET /static/plugins/toastr/toastr.js.map HTTP/1.1" 404 2011
INFO 2025-11-02 19:26:31,320 basehttp 93988 6173929472 "GET /en/landing HTTP/1.1" 301 0
INFO 2025-11-02 19:26:31,378 basehttp 93988 6157103104 "GET /en/landing/ HTTP/1.1" 200 46177
INFO 2025-11-02 19:26:31,399 basehttp 93988 6173929472 "GET /static/css/one-page-parallax/app.min.css HTTP/1.1" 304 0
INFO 2025-11-02 19:26:31,403 basehttp 93988 6173929472 "GET /static/img/bg/bg-home.jpg HTTP/1.1" 304 0
INFO 2025-11-02 19:26:31,403 basehttp 93988 6190755840 "GET /static/img/bg/bg-milestone.jpg HTTP/1.1" 304 0
INFO 2025-11-02 19:26:31,404 basehttp 93988 6207582208 "GET /static/img/bg/bg-quote.jpg HTTP/1.1" 304 0
INFO 2025-11-02 19:26:31,404 basehttp 93988 6224408576 "GET /static/img/bg/bg-client.jpg HTTP/1.1" 304 0
WARNING 2025-11-02 19:26:31,529 log 93988 6157103104 Not Found: /.well-known/appspecific/com.chrome.devtools.json
WARNING 2025-11-02 19:26:31,529 basehttp 93988 6157103104 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 16670
INFO 2025-11-02 19:28:59,583 autoreload 93988 8648941888 /Users/marwanalwali/AgdarCentre/core/urls.py changed, reloading.
INFO 2025-11-02 19:29:00,173 autoreload 95796 8648941888 Watching for file changes with StatReloader
INFO 2025-11-02 19:29:33,642 autoreload 95796 8648941888 /Users/marwanalwali/AgdarCentre/AgdarCentre/settings.py changed, reloading.
INFO 2025-11-02 19:29:33,999 autoreload 96196 8648941888 Watching for file changes with StatReloader
WARNING 2025-11-02 19:29:47,389 log 96196 6136360960 Not Found: /en/landing/
WARNING 2025-11-02 19:29:47,389 basehttp 96196 6136360960 "GET /en/landing/ HTTP/1.1" 404 34956
WARNING 2025-11-02 19:29:47,491 log 96196 6136360960 Not Found: /.well-known/appspecific/com.chrome.devtools.json
WARNING 2025-11-02 19:29:47,491 basehttp 96196 6136360960 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 16668
INFO 2025-11-02 19:29:51,687 basehttp 96196 6136360960 "GET /en HTTP/1.1" 301 0
INFO 2025-11-02 19:29:51,761 basehttp 96196 6153187328 "GET /en/ HTTP/1.1" 200 46161
WARNING 2025-11-02 19:29:51,886 log 96196 6153187328 Not Found: /.well-known/appspecific/com.chrome.devtools.json
WARNING 2025-11-02 19:29:51,887 basehttp 96196 6153187328 "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 16669
INFO 2025-11-02 19:30:00,007 tasks 16180 8648941888 Radiology results sync started
INFO 2025-11-02 19:30:00,008 tasks 16180 8648941888 Radiology results sync completed: {'status': 'success', 'new_studies': 0, 'new_reports': 0, 'errors': 0, 'timestamp': '2025-11-02 16:30:00.008205+00:00'}
INFO 2025-11-02 19:30:00,013 tasks 16180 8648941888 Lab results sync started
INFO 2025-11-02 19:30:00,013 tasks 16180 8648941888 Lab results sync completed: {'status': 'success', 'new_results': 0, 'updated_results': 0, 'errors': 0, 'timestamp': '2025-11-02 16:30:00.013702+00:00'}